package com.kb.design.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kb.design.dto.DesignRequirementDTO;
import com.kb.design.dto.ForestallOrderDTO;
import com.kb.design.dto.TaskCompletedDTO;
import com.kb.design.entity.DesignDictData;
import com.kb.design.entity.DesignRequirement;
import com.kb.design.entity.DesignResponsiblePerson;
import com.kb.design.vo.ReviewVO;

import java.util.List;
import java.util.Map;

/**
 * @Auther:chenzx
 * @Date:2023/11/13
 * @Description:
 */
public interface DesignRequirementServer {
    Page<DesignRequirementDTO> queryByPage(DesignRequirementDTO designRequirementDTO);
    boolean forestallOrder(ForestallOrderDTO forestallOrderDTO);
    boolean submitLayout(ForestallOrderDTO forestallOrderDTO);
    boolean submitWiring(ForestallOrderDTO forestallOrderDTO);
    boolean fallback (ForestallOrderDTO forestallOrderDTO);
    DesignResponsiblePerson queryAssistTask (ForestallOrderDTO forestallOrderDTO);
    Map<String,Object> queryWorkTimeList (ForestallOrderDTO forestallOrderDTO);
    boolean confirmWorkHours (Map<String,List<DesignResponsiblePerson>> map);
    boolean taskCompleted(TaskCompletedDTO taskCompletedDTO);
    TaskCompletedDTO queryWorkData(TaskCompletedDTO taskCompletedDTO);
    ReviewVO reviewContent(String type);

}
